#!/bin/bash

# Program:
#     This program shows the user's choice.
# History:
#     2015/08/25    wxb    First release

read -p "Please input (Y/N): " yn                                   # -p : parameter

if [ "$yn" == "Y" ] || [ "$yn" == "y" ]; then
    echo "Ok, continue"
elif [ "$yn" == "N" ] || [ "$yn" == "n" ]; then
    echo "Oh, interrupt!"
else
    echo "I don't know what your choice is" && exit 0
fi
